package com.turing.java.jvm.concurrent.collections.map;

import java.util.HashMap;
import java.util.Map;

public class MapDump {


    public static void main(String[] args) {
        /*HashMap hashMap = new HashMap<Object, String>(11);

        hashMap.put("杨过","2020");

        System.out.println(hashMap.get("杨过"));*/

        /*Integer hash = "2020".hashCode();
        System.out.println(hash%16);

        System.out.println(hashMap.get("2020"));
        */
        test();
    }

    public static void test() {
        Map<Integer, Integer> hashMap = new HashMap<>();
        int j = 0;
        for (int i = 0; i < 9; i++) {
            hashMap.put(j, i);
            j = j + 16;
        }
    }


}
